package com.ala4.oxcafe.entity;

import com.ala4.oxcafe.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典数据
 *
 * @author PING
 * @version 1.0.0
 * @date 2025/8/14 10:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("dict_data")
@Schema(description = "字典数据")
public class DictData extends BaseEntity {

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @Schema(description = "字典类型名称")
    private String dictLabel;

    @Schema(description = "字典类型编码")
    private String dictValue;

    @Schema(description = "字典类型编码")
    private String typeCode;

    @Schema(description = "字典状态（0正常 1停用）")
    private Integer status;

}
